package com.handpay.nocardpay.baselibrary.main.all.view.widget;

import android.content.Context;
import android.content.DialogInterface;
import android.text.TextUtils;
import android.view.View;
import android.widget.AdapterView;

import com.handpay.nocardpay.baselibrary.R;
import com.handpay.nocardpay.baselibrary.commbase.view.fragment.BaseFragment;
import com.handpay.nocardpay.baselibrary.db.ormlite.DataBaseComponentModel;
import com.handpay.nocardpay.baselibrary.logutils.HPLog;
import com.handpay.nocardpay.baselibrary.main.all.view.widget.FunctionInfo;
import com.handpay.nocardpay.baselibrary.main.mine.MainFragment;
import com.handpay.nocardpay.baselibrary.main.widget.PayChannelInfo;
import com.handpay.nocardpay.baselibrary.onlinemarket.view.fragment.OnlineMarketFragment;
import com.handpay.nocardpay.baselibrary.smartrepayment.SmartRePayFragment;
import com.handpay.nocardpay.baselibrary.utils.AccountUtils;
import com.handpay.nocardpay.baselibrary.utils.DialogUtils;

import java.util.HashMap;

/**
 * Created by lyang on 2017/8/11.
 */

public class FunctionOnItemClickListener implements AdapterView.OnItemClickListener {
    private Context mContext;
    private BaseFragment mBaseFragment;

    public FunctionOnItemClickListener(Context context) {
        mContext = context;

    }

    public FunctionOnItemClickListener(Context context, BaseFragment baseFragment) {
        mBaseFragment = baseFragment;
        mContext = context;

    }

    @Override
    public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
        String tag = ((IconBaseAdapter) parent.getAdapter()).getData().get(position);
        HPLog.i(HPLog.YL_TAG, "onItemClick:" + tag);
//        gridViewItemOnclick(tag);
    }

}